package com.juneng.mapper;

import com.juneng.dto.OrderRefundResponse;
import com.juneng.entity.OrderRefund;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.juneng.dto.OrderRefundQueryDto;
import com.juneng.vo.OrderRefundVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单商品退款 Mapper 接口
 *
 * @author zds
 * @since 2021-08-04
 */
public interface OrderRefundMapper extends BaseMapper<OrderRefund> {
        IPage<OrderRefundVo> page(IPage page, @Param("dto")OrderRefundQueryDto dto);

        OrderRefundResponse getOrderRefund(Long id);

        List<OrderRefundVo> getOrderRefundList(@Param("dto")OrderRefundQueryDto dto);
}
